package role;

import java.util.Set;

public class User {
	public User() {
		super();
	}



	public Set<Education> getEducation() {
		return education;
	}



	public void setEducation(Set<Education> education) {
		this.education = education;
	}



	public Set<Interest> getInterest() {
		return interest;
	}



	public void setInterest(Set<Interest> interest) {
		this.interest = interest;
	}



	public Invitation getInvitation() {
		return invitation;
	}



	public void setInvitation(Invitation invitation) {
		this.invitation = invitation;
	}



	@Override
	public String toString() {
		return "User [id=" + id + ", username=" + username + ", name=" + name + ", age=" + age + ", height=" + height
				+ ", gender=" + gender + ", phone=" + phone + ", education=" + education + ", interest=" + interest
				+ ", invitation=" + invitation + ", userPassword=" + userPassword + "]";
	}



	public long getId() {
		return id;
	}

	
	
	public User(long id, String username, String name, String age, String height, String gender, String phone) {
		super();
		this.id = id;
		this.username = username;
		this.name = name;
		this.age = age;
		this.height = height;
		this.gender = gender;
		this.phone = phone;
	}

	

	public void setId(long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}


	public UserPassword getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(UserPassword userPassword) {
		this.userPassword = userPassword;
	}

	private long id;
	private String username;
	private String name;
	private String age;
	private String height;
	private String gender;
	private String phone;
	private Set<Education> education;
	private Set<Interest> interest;
	private Invitation invitation;
	private UserPassword userPassword;
}
